<template>
  <div class="config-containner">
    <el-row :gutter="20" class="seachnav" >
      <el-col :xs="7" :sm="6" :md="4" :lg="6" :xl="5">
        <span><router-link  :to="{path:'/monitor/system/station'}"><img :src="returnnormalpress" class="returnnormalpress"/></router-link></span>
        <span><img :src="realtimeindex" class="equiplist"/></span>
        <span class="description">配置与查询</span>
      </el-col>
      <el-col :xs="7" :sm="6" :md="18" :lg="18" :xl="21" class="con" >
      </el-col>
    </el-row>
    <div class="configContent">
      <div class="configTop">
        <!--<p class="configTitle">配置与查询</p>-->
        <!--<p class="topReturn" @click="returnSite">< 返回</p>-->
      </div>
      <div class="viewName">
        <span>站点编号：{{pid}}</span>
        <span>站点名称：{{queryname}}</span>
      </div>
      <div class="nav">
        <config-nav></config-nav>
      </div>
    </div>
  </div>
</template>
<script>
  import configNav from './component/configNav'
  import realtimeindex from '@/assets/home/management.png'
  import returnnormalpress from '@/assets/home/returnnormalpress.png'
  export default {
    name: 'configurationAndQuery',
    components: { configNav },
    data() {
      return {
        realtimeindex,
        returnnormalpress,
        pid: this.$route.query.pid,
        queryname: this.$route.query.name
      }
    },
    methods: {
      returnSite() {
        this.$router.push({
          path: '/monitor/system/station'
        })
      }
    }
  }
</script>
<style rel="stylesheet/scss" lang="scss">
  .config-containner{
    font-size: 16px;
    color: #25B6C7;
    .seachnav{
      width: 60%;
      height: 50px;
      position: fixed;
      z-index: 2;
      top:0;
      bottom: 0;
      line-height: 55px;
      padding-left: 20px;
      .description{
        font-size: 18px;
        color: #333;
        line-height: 10px;
        padding-left: 10px;
      }
      .returnnormalpress{
        vertical-align: middle;
        /*cursor: pointer;*/
      }
      .equiplist{
        vertical-align: middle;
        margin-left: 10px;
      }
      .searchinvalid{
        vertical-align: middle;
        cursor: pointer;
      }
      .con{
        width: 85%;
        height: 50px;
        float: right;
        margin-right: 20px;
        line-height: 3px;
        padding-left: 0 !important;
        .seachContent{
          font-size:18px;
          font-family:MicrosoftYaHei;
          font-weight:400;
          padding-top: 0px;
          color:rgba(51,51,51,1);
        }
        .seachtitle{
          font-size:12px;
          font-family:MicrosoftYaHei;
          font-weight:400;
          color:rgba(102,102,102,1);
        }
      }
    }
    .configContent{
      min-height: 46vw;
      background-color: #fff;
      margin: 0px 20px;
      .configTop{
        width: 100%;
        height: 10px;
        border-bottom: 1px solid #EBEBEB;


        .configTitle{
          font-size: 16px;
          color: #676A70;
          padding-left: 5px;
          border-left: 5px solid #0072F3;
          height: 16px;
          float: left;
        }
        .topReturn{
          font-size:14px;
          font-family:MicrosoftYaHei;
          font-weight:400;
          color:rgba(37,183,200,1);
          padding-left: 5px;
          height: 16px;
          float: right;
          cursor: pointer;
        }
      }
      .viewName{
        width: 100%;
        height: 45px;
        font-size:14px;
        font-family:MicrosoftYaHei;
        font-weight:400;
        color:rgba(105,114,126,1);
        line-height: 40px;
        padding-left: 20px;
        span{
          padding-right: 50px;
        }

      }
      .nav{
        width: 100%;
        height: 50px;
        line-height: 40px;

      }
    }
  }
</style>
